<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// [ 应用入口文件 ]

// 定义应用目录
define('SYS_NAME','dsp');
define('APP_PATH', __DIR__ . '/../application/');
define('JCS_PATH','http://'.$_SERVER['SERVER_NAME'].'/'.SYS_NAME.'/template/static/');
define('IMG_PATH', __DIR__.'/../template/image/');
define('GETIMG_PATH', 'http://'.$_SERVER['SERVER_NAME'].'/'.SYS_NAME.'/template/image/');
//定义基本常量
define('DLS', 1);//代理商
define('ZZH', 2);//子账户
define('GGZ', 3);//广告主
// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';
